<?php

namespace App\Http\Controllers;

use App\Billing\BankPaymentGateway;
use App\Billing\PaymentGatewayContract;
use App\Orders\OrderDetails;
use Illuminate\Http\Request;
use Illuminate\Support\LazyCollection;

class PayController extends Controller
{
    public function store(OrderDetails  $details,PaymentGatewayContract $paymentGateway){
        $order = $details->all();
//        $paymentGateway = new PaymentGateway();
        dd($paymentGateway->charge(2500));
//        LazyCollection::timm
    }
}
